//Copyright@<2009> <farida>

// Code Snippet for the Main Menu 
using System;
class MainMenu
{
    public static void Main1()
    {
        string myChoice;

        do
        {
            // Print A Menu
            Console.WriteLine("EnetrPrise Operations Management System\n");

            Console.WriteLine("U - User Authentication Management System");
            Console.WriteLine("V - Employee Vacation Management System");
            Console.WriteLine("S - Employee Schedule Management System");
            Console.WriteLine("Q - Quit\n");
            Console.WriteLine("Choice (U,V,S,or Q): ");

            // Retrieve the user's choice
            myChoice = Console.ReadLine();

            // Make a decision based on the user's choice
            switch (myChoice)
            {
                case "U":
                case "u":
                    Console.WriteLine("User Authentication Management");
                    break;
                case "P":
                case "p":
                    Console.WriteLine("Product Management");
                    break;
                case "V":
                case "v":
                    Console.WriteLine("Employee Vacation Mangements System");
                    break;
                case "S":
                case "s":
                    Console.WriteLine("Employee Schedule Management System");
                    break;
                case "Q":
                case "q":
                    Console.WriteLine("Bye.");
                    break;
                default:
                    Console.WriteLine("{0} is not a valid choice", myChoice);
                    break;
            }

            // Pause to allow the user to see the results
            Console.Write("press Enter key to continue...");
            Console.ReadLine();
            Console.WriteLine();
        } while (myChoice != "Q" && myChoice != "q"); // Keep going until the user wants to quit
    }
}